<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
/*    
//基本数据类型赋值
let count = 100
let a = count //赋值,深拷贝

count++ 
console.log(a) // 
*/ 
//复杂数据类型
//有对象/数组
let store = {
    count: 100
}
/*
let a = store //store它是对象,赋值,地址,浅拷贝
store.count++
console.log(a.count)
*/

let count = store.count // store.count它是数字,它的赋值是值,深拷贝
store.count++
console.log(count)

</script>
</html>